package adapter;

import hospital.Hospital;
import be.kuleuven.cs.swop.api.ILocation;

public class AHospital implements be.kuleuven.cs.swop.api.IHospital {

	private Hospital hospital;
	
	public AHospital(Hospital hospital){
		this.hospital=hospital;
	}
	
	public Hospital getHospital(){
		return hospital;
	}

	@Override
	public ILocation getLocation() {
		return new ALocation(hospital.getLocation());
	}
	
	@Override
	public String getName() {
		return hospital.getName();
	}

}
